package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 蓝牙笔管理对象 pens
 *
 * @author ruoyi
 * @date 2024-03-16
 */
public class Pens extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 唯一标识 */
    @Excel(name = "唯一标识")
    private String penId;

    /** 地点 */
    @Excel(name = "地点")
    private String location;

    /** 购买日期 */
    @Excel(name = "购买日期")
    private String date;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPenId(String penId)
    {
        this.penId = penId;
    }

    public String getPenId()
    {
        return penId;
    }
    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }
    public void setDate(String date)
    {
        this.date = date;
    }

    public String getDate()
    {
        return date;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("penId", getPenId())
                .append("location", getLocation())
                .append("date", getDate())
                .toString();
    }
}
